<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>财务端-项目管理</title>
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>

    <link rel="stylesheet" href="/css/skin.css">
    <link rel="stylesheet" href="/css/bootstrapValidator.min.css" />
</head>
<body>
<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>项目管理</h1>
                </div>
                <div class="card-body ">
                    <div class="row content-action">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="pull-right">
                                <!--                                onclick="billingCompanyAdd()"-->
                                <!--                                data-target="#projectModels"-->
                                <button type="button" class="btn btn-success" data-toggle="modal" onclick="addPro()" ><i
                                        class="mdi mdi-plus-circle-outline" ></i>新增项目
                                </button>
                            </div>
                        </div>

                    </div>
                    <table id="projectManage" ></table>
                </div>


            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>设置审核人</h1>
                </div>
                <div class="card-body ">
                    <div class="row content-action">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="pull-right">
                                <!--                                onclick="billingCompanyAdd()"-->
                                <!--                                data-target="#billModels"-->
                                <button type="button" class="btn btn-success" data-toggle="modal"  onclick="companyAdd()" ><i
                                        class="mdi mdi-plus-circle-outline" ></i>新增审核人
                                </button>
                            </div>
                        </div>

                    </div>
                    <table id="approverTab" ></table>
                </div>


            </div>
        </div>
    </div>

</div>

<input type="hidden" id="companyProjectId">
<div class="modal fade" tabindex="-1" role="dialog" id="projectModels">
    <div class="modal-dialog" role="document" style="width: 60%;">
        <div class="modal-content">
            <div class="modal-header">
                <h4>新增项目</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal add-project-company" autocomplete="off">
                    <!--                    <input type="hidden" id="logId">-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">项目名称</label>
                        <div class="col-sm-7">
                            <input id="projectName" type="text" class="form-control" maxlength="30" name="projectName" placeholder="请输入">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">所属分公司</label>
                        <div class="col-sm-7">
                            <select class="form-control" type="text"  id="companySelect"  name="companySelect" autocomplete="off"></select>
                        </div>
                    </div>





                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">税率</label>
                        <div class="col-sm-7">
                            <!--                            onkeyup="value=value.replace(/[^\d\%]/g,'')"-->
                            <input id="taxRate" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" type="text" class="form-control" maxlength="30" name="taxRate" placeholder="请输入">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">税收分类编码</label>
                        <div class="col-sm-7">
                            <input id="taxClassNumber" type="text" class="form-control" maxlength="30" name="taxClassNumber" placeholder="请输入">
                        </div>
                    </div>






                    <div style="margin-left: 20%;text-align: center;" class="form-group">
                        <button class="btn btn-primary form-group edit-submit" type="button" name="submit" style="margin-right: 30px;"
                                onclick="addProjectCompany()"
                        >提交
                        </button>
                        <button class="btn btn-default" type="button" data-dismiss="modal">取消</button>
                    </div>


                </form>
            </div>
        </div>
    </div>
</div>

<input type="hidden" id="invoiceCompanyInfoId">
<div class="modal fade" tabindex="-1" role="dialog" id="billModels">
    <div class="modal-dialog" role="document" style="width: 60%;">
        <div class="modal-content">
            <div class="modal-header">
                <h4>新增审核人</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal bill-form" autocomplete="off">

                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">开票公司</label>
                        <div class="col-sm-7">
                            <select class="form-control" id="billCompany" type="text" placeholder="请选择" data-live-search="true" name="billCompany">
                                <option value="">请选择</option>

                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">复核人</label>
                        <div class="col-sm-7">
                            <input id="reviewer" type="text" class="form-control" maxlength="30" name="reviewer" placeholder="请输入">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">开票人</label>
                        <div class="col-sm-7">
                            <input id="makePerson" type="text" class="form-control" maxlength="30" name="makePerson" placeholder="请输入">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label label-required">收款人</label>
                        <div class="col-sm-7">
                            <input id="payee" type="text" class="form-control" maxlength="30" name="payee" placeholder="请输入">
                        </div>
                    </div>





                    <div style="margin-left: 20%;text-align: center;">
                        <button class="btn btn-primary form-group edit-submit" type="button" name="submit" style="margin-right: 30px;"
                        onclick="approverAddSubmit()"
                        >提交
                        </button>
                        <button class="btn btn-default" type="button" data-dismiss="modal">取消</button>
                    </div>


                </form>
            </div>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!--<script src="/js/crm/common/city.js"></script>-->
<script src="/js/crm/common/common.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>

<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>


<script type="text/javascript" src="/js/bootstrapValidator.min.js"></script>

<!-- 子页面公用js -->
<script src="/js/crm/finance/projectManagement.js"></script>
</html>